package responsibility;

public class ConcreteHandlerA extends Handler {

    @Override
    public void handleRequest(int request) {
        if (request < 5) {
            System.out.println("ConcreteHandlerA handle...");
        }else{
            handler.handleRequest(request);
        }
    }
}
